package ZiJieStream.FileInputStream;

import java.io.FileInputStream;
import java.io.IOException;

public class XunHuanTest {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("day24\\a.txt");
//        int b;
//        while ((b = fis.read()) != -1) {
//            System.out.println((char) b);
//        }

        while (fis.read() != -1) {
            System.out.println((char) fis.read());
        }
        fis.close();
    }
}
